package id.co.rho.scoring.cid.client.model;

import java.util.List;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

public class CriteriaTree extends BaseTreeModel{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public CriteriaTree getParent(){
		return get("parent");
	}

	public void setParent(CriteriaTree parent){
		set("parent",parent);
	}
	
	public List<CriteriaTree> getChild(){
		return get("child");
	}

	public void setChild(List<CriteriaTree> child){
		set("child",child);
	}
	
	public Long getId() {
		return get("id");
	}

	public void setId(Long id) {
		set("id",id);
	}

	public String getCriteriaName() {
		return get("criteriaName");
	}

	public void setCriteriaName(String criteriaName) {
		set("criteriaName",criteriaName);
	}

	public String getCriteriaNumber() {
		return get("criteriaNumber");
	}

	public void setCriteriaNumber(String criteriaNumber) {
		set("criteriaNumber",criteriaNumber);
	}

	public Double getCriteriaRank() {
		return get("criteriaRank");
	}

	public void setCriteriaRank(Double criteriaRank) {
		set("criteriaRank",criteriaRank);
	}

	public Double getCriteriaWeight() {
		return get("criteriaWeight");
	}

	public void setCriteriaWeight(Double criteriaWeight) {
		set("criteriaWeight",criteriaWeight);
	}

	public String getCriteriaType() {
		return get("criteriaType");
	}

	public void setCriteriaType(String criteriaType) {
		set("criteriaType",criteriaType);
	}
	
	public Long getParentId() {
		return get("parentId");
	}

	public void setParentId(Long parentId) {
		set("parentId",parentId);
	}
	
	public Double getResultValue() {
		return get("resultValue");
	}
	
	public void setResultValue(Double resultValue) {
		set("resultValue", resultValue);
	}
	
	public Integer getPosition() {
		return get("position");
	}
	
	public void setPosition(Integer position) {
		set("position", position);
	}
	
	public String getDiff() {
		return get("diff");
	}
	
	public void setDiff(String diff) {
		set("diff", diff);
	}
	
	public String getNameDiff() {
		return get("nameDiff");
	}
	
	public void setNameDiff(String nameDiff) {
		set("nameDiff", nameDiff);
	}
	
	public String getNumberDiff() {
		return get("numberDiff");
	}
	
	public void setNumberDiff(String numberDiff) {
		set("numberDiff", numberDiff);
	} 
	
	public String getChangeState () {
		return get("changeState");
	}
	
	public void setChangeState(String changeState) {
		set("changeState", changeState);
	}

}
